package com.zy.mapper.sys;

import java.util.List;
import com.zy.model.sys.ZyUserRole;
import com.zy.model.sys.ZyUserRoleExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ZyUserRoleMapper {
    int countByExample(ZyUserRoleExample example);

    int deleteByExample(ZyUserRoleExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ZyUserRole record);

    int insertSelective(ZyUserRole record);

    List<ZyUserRole> selectByExampleWithRowbounds(ZyUserRoleExample example, RowBounds rowBounds);

    List<ZyUserRole> selectByExample(ZyUserRoleExample example);

    ZyUserRole selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ZyUserRole record, @Param("example") ZyUserRoleExample example);

    int updateByExample(@Param("record") ZyUserRole record, @Param("example") ZyUserRoleExample example);

    int updateByPrimaryKeySelective(ZyUserRole record);

    int updateByPrimaryKey(ZyUserRole record);
}